package com.attendance.www.hr.dao.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.attendance.www.hr.beans.AttachmentBean;
import com.attendance.www.hr.beans.DepartmentBean;
import com.attendance.www.hr.entitys.Department;

public interface DepartmentExtMapper {
	
	  List<DepartmentBean> getDepartmentList(@Param("departmentBean")DepartmentBean departmentBean,@Param("startNum")Integer startNum,@Param("pageCount")Integer pageCount,@Param("pageBoolean")boolean pageBoolean);
	   
	  Integer getDepartmentListPageTotal(@Param("departmentBean")DepartmentBean departmentBean);
	  
	  Integer updateDepartment(@Param("departmentBean")DepartmentBean departmentBean);
	  
	  List<Department> getDepartmentListByExcel(@Param("attachmentBean")AttachmentBean attachmentBean);

	  //更改departmentPath
	  void updateDepartmentPath(@Param("departmentBean")DepartmentBean departmentBean);
	  //获取最小时间
	  Date selectDepartmentMinFromDate();

	  Integer updateSetDisableTimeByDepartmentId(@Param("departmentId")Integer departmentId);
}
